<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="配置域名解析（适用于OpenStack）">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="ZH-CN_TOPIC_0000002164790068">
  <meta name="DC.Language" content="zh-cn">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>配置域名解析（适用于OpenStack）</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="ZH-CN_TOPIC_0000002164790068"></a><a name="ZH-CN_TOPIC_0000002164790068"></a>
  <h1 class="topictitle1"><span>配置域名解析（适用于OpenStack）</span></h1>
  <div>
   <p>您需要为客户端所在主机配置OpenStack中各服务的域名解析，客户端所在主机与OpenStack才能正常通信。当使用OpenStack社区版时，请跳过本节。</p>
   <div class="section">
    <h4 class="sectiontitle">操作步骤</h4>
    <ol>
     <li><span>获取OpenStack各服务的域名解析信息。</span><p></p>
      <ol type="a">
       <li>使用浏览器，登录FusionSphere OpenStack OM。</li>
       <li>在导航栏选择<span class="uicontrol">“资源 &gt; 配置”</span>。</li>
       <li>选择<span class="uicontrol">“服务”</span>页签，获取nova、keystonev3、cinder、neutron服务的域名。示例如<a href="#ZH-CN_TOPIC_0000002164790068__table12486184224719">表1</a>所示。 
        <div class="tablenoborder">
         <a name="ZH-CN_TOPIC_0000002164790068__table12486184224719"></a><a name="table12486184224719"></a>
         <table cellpadding="4" cellspacing="0" summary="" id="ZH-CN_TOPIC_0000002164790068__table12486184224719" frame="border" border="1" rules="all">
          <caption>
           <b>表1 </b>域名获取示例
          </caption>
          <colgroup>
           <col style="width:25.19%">
           <col style="width:74.81%">
          </colgroup>
          <thead align="left">
           <tr>
            <th align="left" class="cellrowborder" valign="top" width="25.19%" id="mcps1.3.2.2.1.2.1.3.3.2.3.1.1"><p>服务名称</p></th>
            <th align="left" class="cellrowborder" valign="top" width="74.81%" id="mcps1.3.2.2.1.2.1.3.3.2.3.1.2"><p>访问地址</p></th>
           </tr>
          </thead>
          <tbody>
           <tr>
            <td class="cellrowborder" valign="top" width="25.19%" headers="mcps1.3.2.2.1.2.1.3.3.2.3.1.1 "><p>nova</p></td>
            <td class="cellrowborder" valign="top" width="74.81%" headers="mcps1.3.2.2.1.2.1.3.3.2.3.1.2 "><p>compute.az236.dc236.test.com</p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="25.19%" headers="mcps1.3.2.2.1.2.1.3.3.2.3.1.1 "><p>keystonev3</p></td>
            <td class="cellrowborder" valign="top" width="74.81%" headers="mcps1.3.2.2.1.2.1.3.3.2.3.1.2 "><p>identity.az236.dc236.test.com</p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="25.19%" headers="mcps1.3.2.2.1.2.1.3.3.2.3.1.1 "><p>cinderv3</p></td>
            <td class="cellrowborder" valign="top" width="74.81%" headers="mcps1.3.2.2.1.2.1.3.3.2.3.1.2 "><p>volume.az236.dc236.test.com</p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="25.19%" headers="mcps1.3.2.2.1.2.1.3.3.2.3.1.1 "><p>neutron</p></td>
            <td class="cellrowborder" valign="top" width="74.81%" headers="mcps1.3.2.2.1.2.1.3.3.2.3.1.2 "><p>network.az236.dc236.test.com</p></td>
           </tr>
          </tbody>
         </table>
        </div></li>
      </ol> <p></p></li>
     <li><span>使用PuTTY工具以<strong id="ZH-CN_TOPIC_0000002164790068__zh-cn_topic_0000002164790032_zh-cn_topic_0000002164790108_zh-cn_topic_0000002164790296_b916917212">root</strong>账户登录客户端所在主机。</span></li>
     <li><span>打开客户端所在主机的hosts文件，将获取到的域名解析追加到hosts文件，格式如下：</span><p></p><pre class="screen">external_api平面反向代理IP地址   域名</pre> <p>示例：</p> <pre class="screen">192.168.10.10    compute.az236.dc236.test.com
192.168.10.10    identity.az236.dc236.test.com
192.168.10.10    volume.az236.dc236.test.com
192.168.10.10    network.az236.dc236.test.com</pre> <p></p></li>
    </ol>
   </div>
  </div>
 </body>
</html>